Skip to content

Fix warning about SPDX license identifier#787

Merged
mhucka merged 1 commit into
masterfrom
mh-update-license-id
Jun 19, 2025
Merged

Fix warning about SPDX license identifier#787
mhucka merged 1 commit into
masterfrom
mh-update-license-id

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented Jun 19, 2025

When running cibuildwheel 2.23.3 runs under Python 3.12, the following warning would show up in the logs:

  /tmp/pip-build-env-ucihqcl8/overlay/lib/python3.12/site-packages/setuptools/dist.py:759:
  SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!

          ********************************************************************************
          Please consider removing the following classifiers in favor
          of a SPDX license expression:

          License :: OSI Approved :: Apache Software License

          See
          https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
          for details.
          ********************************************************************************

This commit removes the license classifier and updates the license keyword to use the SPDX license id.

When running cibuildwheel 2.23.3 runs under Python 3.12, the following
warning would show up in the logs:

```
  /tmp/pip-build-env-ucihqcl8/overlay/lib/python3.12/site-packages/setuptools/dist.py:759:
  SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!

          ********************************************************************************
          Please consider removing the following classifiers in favor
          of a SPDX license expression:

          License :: OSI Approved :: Apache Software License

          See
          https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
          for details.
          ********************************************************************************
```

This commit removes the license classifier and updates the `license`
keyword to use the SPDX license id.
@mhucka mhucka marked this pull request as ready for review June 19, 2025 16:25
@mhucka mhucka merged commit a0c4404 into master Jun 19, 2025
48 checks passed
@mhucka mhucka deleted the mh-update-license-id branch June 19, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant